package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 结构化记录
 * 
 * @ClassName: CdcStructurationEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:06
 */
@TableName("t_cdc_bs_structuration") 
public class CdcStructurationEntity extends DataEntity<CdcStructurationEntity> {
	private static final long serialVersionUID = 1L;
	
	//就诊记录
	private Long episodeId;	
	//原始数据
	private Long origchapterId;	
	//分析工具
	private Long toolId;	
	//生成日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date analDate;	
	//是否有效
	private Integer isActive;	

	/**
	 * 设置：就诊记录
	 */
	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}
	/**
	 * 获取：就诊记录
	 */
	public Long getEpisodeId() {
		return episodeId;
	}
	/**
	 * 设置：原始数据
	 */
	public void setOrigchapterId(Long origchapterId) {
		this.origchapterId = origchapterId;
	}
	/**
	 * 获取：原始数据
	 */
	public Long getOrigchapterId() {
		return origchapterId;
	}
	/**
	 * 设置：分析工具
	 */
	public void setToolId(Long toolId) {
		this.toolId = toolId;
	}
	/**
	 * 获取：分析工具
	 */
	public Long getToolId() {
		return toolId;
	}
	/**
	 * 设置：生成日期
	 */
	public void setAnalDate(Date analDate) {
		this.analDate = analDate;
	}
	/**
	 * 获取：生成日期
	 */
	public Date getAnalDate() {
		return analDate;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
